package com.starlink.model.vo.mall;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * @author: zyh
 * @date: 2024-04-22
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel("商城订单查询响应模型")
public class MallOrderListVO implements Serializable {
    @ApiModelProperty("订单ID")
    private Long id;
    @ApiModelProperty("商品ID")
    private String articlesId;
    @ApiModelProperty("商品类别 1书籍 2周边 3积分 ")
    private Integer articlesCategory;
    @ApiModelProperty("订单编号")
    private String orderNum;
    @ApiModelProperty("订单类型 1:书籍订单 2:周边订单 3:积分订单 4:购物车订单")
    private String orderType;
    @ApiModelProperty("封面")
    private String picture;
    @ApiModelProperty("名称")
    private String title;
    @ApiModelProperty("订单状态 0:全部订单 1:待支付 2:待发货 3:待收货 4:已完成 5:已取消 6:售后中 7:已售后")
    private String status;
    @ApiModelProperty("售后状态  0:待审批 1:待寄回 2:运输中 3:已完成 4:已驳回")
    private Integer refundStatus;
    @ApiModelProperty("单价")
    private BigDecimal unitPrice;
    @ApiModelProperty("积分价格")
    private Long integralPrice;
    @ApiModelProperty("积分商品支付类型 1积分支付 2积分+钱")
    private Integer paymentType;
    @ApiModelProperty("运费")
    private BigDecimal freight;
    @ApiModelProperty("规格")
    private String specification;
    @ApiModelProperty("规格ID")
    private Long specificationId;
    @ApiModelProperty("购买数量")
    private Integer quantity;
    @ApiModelProperty("是否售后 0:否 1:是")
    private Integer isRefunds;


    @ApiModelProperty("购物车订单")
    private List<MallCarOrderListVO> carOrderList;
}
